package com.ruoyi.invoice.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.invoice.domain.InvoiceBusinessType;

/**
 * 业务类型Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
public interface BusinessTypeMapper extends BaseMapper<InvoiceBusinessType>
{
    /**
     * 查询业务类型
     * 
     * @param businessTypeId 业务类型主键
     * @return 业务类型
     */
    public InvoiceBusinessType selectBusinessTypeByBusinessTypeId(Long businessTypeId);

    /**
     * 查询业务类型列表
     * 
     * @param invoiceBusinessType 业务类型
     * @return 业务类型集合
     */
    public List<InvoiceBusinessType> selectBusinessTypeList(InvoiceBusinessType invoiceBusinessType);

    /**
     * 新增业务类型
     * 
     * @param invoiceBusinessType 业务类型
     * @return 结果
     */
    public int insertBusinessType(InvoiceBusinessType invoiceBusinessType);

    /**
     * 修改业务类型
     * 
     * @param invoiceBusinessType 业务类型
     * @return 结果
     */
    public int updateBusinessType(InvoiceBusinessType invoiceBusinessType);

    /**
     * 删除业务类型
     * 
     * @param businessTypeId 业务类型主键
     * @return 结果
     */
    public int deleteBusinessTypeByBusinessTypeId(Long businessTypeId);

    /**
     * 批量删除业务类型
     * 
     * @param businessTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessTypeByBusinessTypeIds(Long[] businessTypeIds);
}
